import page from './page'; 
import admin from './admin'; 
export default [
    {
        path: '/',
        component: r => require(['../components/home'], r),
        children: page,
    },{
        path: '/admin',
        component: r => require(['../components/admin'], r),
        children: admin,
        meta: {
            requiresAuth: true
        }
    },
    {
        path: '*',
        name: '404',
        component: r => require(['@/components/err'], r)
    }
]